#include "common_includes.h"
#include <string>
#include <exception>

#ifndef AUTHEXCEPTION_H
#define AUTHEXCEPTION_H

AUTH_NS_START

class AuthException : public std::exception {

private:
	std::string m_sWhat;
public:
	AuthException(std::string what = "Exception in Authorization Module"):m_sWhat(what) {
	}

	virtual const char* what() const throw() {
		return m_sWhat.c_str();
	}

	~AuthException() throw() {
	}
};

AUTH_NS_END

#endif // AUTHEXCEPTION_H
